#ifndef __LCD_ATR_H__
#define __LCD_ATR_H__



/*LCD DISP ATTRIB */
#define LCD_ATTR_TITLE			(1)
#define LCD_ATTR_REVERSE 		(2)
#define LCD_ATTR_GRAY			(3)
#define LCD_ATTR_BACKLIGHT		(4)

/* TITLE */
#define TITLE_LIGHT				0xff
#define TITLE_DARD				0

#define LCD_TITLE_CALL			2
#define LCD_TITLE_NOCALL		3
#define LCD_TITLE_ROBOT			4
#define LCD_TITLE_NET			20
#define LCD_TITLE_SIGNAL0		22
#define LCD_TITLE_SIGNAL1		24
#define LCD_TITLE_SIGNAL2		26
#define LCD_TITLE_SIGNAL3		28
#define LCD_TITLE_SIGNAL4		30

#define LCD_TITLE_TABLE			42
#define LCD_TITLE_RECT			61

#define LCD_TITLE_BATTERY	 	93
#define LCD_TITLE_BATTERY_QUANTITY0	 	99
#define LCD_TITLE_BATTERY_QUANTITY1	 	101
#define LCD_TITLE_BATTERY_QUANTITY2	 	103
#define LCD_TITLE_BATTERY_QUANTITY3	 	105
#define LCD_TITLE_UP	 		108
#define LCD_TITLE_DOWN	 		122

#define lcd_set_title(title) 	lcd_set_attribute(LCD_ATTR_TITLE, (void*)title)
#define lcd_set_attr(flg)		lcd_set_attribute(LCD_ATTR_REVERSE, (void*)flg)
#define lcd_set_gray(flg)		lcd_set_attribute(LCD_ATTR_GRAY, (void*)flg)
#define lcd_backlight(onoff)	lcd_set_attribute(LCD_ATTR_BACKLIGHT, (void*)onoff)

#endif
